<?php

/**
 * 请求地址: /api/china
 * 请求方式: post
 * 请求参数: code:CN#20002,id:人物ID
 * 返回格式: json
 * 返回数据: 如下
 */

$json = [
    'dataInfo' => [
        'name' => '名称',
        'avatar' => '头像',
        'desc' => '介绍',
        'honor' => '头衔1,头衔2,头衔3',

        'title' => '标题',
        'subTitle' => '副标题',
        'source' => '来源',
        'auther' => '作者',
        'editor' => '编辑',
        'time' => '时间戳',
        'tags' => '标签1,标签2',
        'content' => '富文本内容',

    ],
    'cellList' => [
        'zjShowRelateArticleList' => [
            'mark' => '相关话题',
            'dataType' => 1,
            'dataList' => [
                ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
            ],
        ],
        'zjShowTagsTopedList' => [
            'mark' => '热门标签',
            'dataType' => 1,
            'dataList' => [
                ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
            ],
        ],
        'zjShowEditorTopedList' => [
            'mark' => '编辑推荐',
            'dataType' => 1,
            'dataList' => [
                ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
            ],
        ],
    ],
];
echo json_encode($json);
